﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VerbrauchProcessor.DatabaseAccess.DataModel
{
	public enum ESampleType
	{ 
		WATER,
		ELECTRICITY,
		GAS
	}

	public  class Sample
	{

		#region Properties

		public DateTime Date { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public Decimal ElectricEnergy_kwh { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public Decimal Water_m3 { get; set; }

		/// <summary>
		/// 
		/// </summary>
		public Decimal Gas_m3 { get; set; }

		#endregion

		#region Constructors 
		
		/// <summary>
		/// TODO mb 30.12.2010:comment
		/// </summary>
		/// <param name="sampleDate"></param>
		/// <param name="electricEnergy_KWH"></param>
		/// <param name="gas_m3"></param>
		/// <param name="water_m3"></param>
		public Sample(DateTime sampleDate, Decimal electricEnergy_KWH, Decimal gas_m3,Decimal water_m3)
		{
			Date = sampleDate;
			ElectricEnergy_kwh = electricEnergy_KWH;
			Water_m3 = water_m3;
			Gas_m3 = gas_m3;
		} 
		#endregion
		
		
		public void Print()
		{
			Console.WriteLine("Year:{0}-, Month:{1} ", Date.Year, Date.ToString("MMMM"));
		}
	}
}
